package cn.com.headfree.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gta.edu.sdk.mybatis.common.Entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 职称申报与人员资料关联表
 * @Author wcSun
 * @Date 2021/6/23
 **/
public class TSalaryBusinessBind extends Entity implements Serializable {


    /**
     *申报表ID
     */
    private String salaryId;

    /**
     *人员资料类型
     */
    private String businessTypeId;

    /**
     *人员资料ID
     */
    private String itemId;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;

    public TSalaryBusinessBind(){

    }

    public TSalaryBusinessBind(String salaryId, String businessTypeId, String itemId){
        this.salaryId=salaryId;
        this.businessTypeId=businessTypeId;
        this.itemId=itemId;
        this.createTime = new Date();
        this.updateTime = new Date();
    }

    public String getSalaryId() {
        return salaryId;
    }

    public void setSalaryId(String salaryId) {
        this.salaryId = salaryId;
    }

    public String getBusinessTypeId() {
        return businessTypeId;
    }

    public void setBusinessTypeId(String businessTypeId) {
        this.businessTypeId = businessTypeId;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
